﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.RBAC
{
    /// <summary>
    /// 添加角色信息
    /// </summary>
    public class AddRolePermissionCommand:IRequest<ApiResult<int>>
    {


        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; } = null!;

        /// <summary>
        /// 权限Id
        /// </summary>

        public List<int> PermissionId { get; set; }



    }
}
